<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) 2023 https://inphp.cc All rights reserved.
// | Author: 幺月儿(https://gitee.com/lulanyin) Email: inphp@qq.com
// | 该文件的开源协议以所在项目的LICENSE文件为准，请遵守开源协议要求
// +----------------------------------------------------------------------
// | 后台配置
// +----------------------------------------------------------------------
return [
    //打开新窗口后台地址
    "extUrl"   => "./admin",
    //菜单
    "menus" => [
        ["name" => "文章管理", "icon" => "fa-regular fa-list", "url" => "./admin/archive/list", "permission" => ["cms/archive/edit", "cms/archive/delete"]],
        ["name" => "发布文章", "icon" => "fa-regular fa-pen-to-square", "url" => "./admin/archive/edit", "permission" => ["cms/archive/edit"]],
        ["name" => "分类管理", "icon" => "fa-regular fa-folder-tree", "url" => "./admin/category/list", "permission" => ["cms/archive/category"]],
        ["name" => "标签管理", "icon" => "fa-regular fa-tags", "url" => "./admin/tags", "permission" => ["cms/archive/tags"]],
        ["name" => "导航管理", "icon" => "fa-regular fa-bars", "url" => "./admin/nav", "permission" => ["cms/nav"]],
        ["name" => "图集管理", "icon" => "fa-regular fa-image", "url" => "./admin/focus/list", "permission" => ["cms/focus"]],
        ["name" => "链接管理", "icon" => "fa-regular fa-link", "url" => "./admin/link/list", "permission" => ["cms/link"]],
        ["name" => "文件管理", "icon" => "fa-regular fa-file", "url" => "/fs?groupName=cms"],
        ["name" => "站点管理", "icon" => "fa-regular fa-sitemap", "url" => "./admin/site/list", "permission" => ["cms/site"]],
        ["name" => "模板管理", "icon" => "fa-regular fa-wand-magic-sparkles", "url" => "./admin/template/list", "permission" => ["cms/template"]],
        ["name" => "系统配置", "icon" => "fa-regular fa-gear", "url" => "./admin/config", "permission" => ["cms/config"]],
        //["name" => "插件管理", "icon" => "fa fa-plug", "url" => "./admin/plug/list", "permission" => ["cms/plug"]],
    ]
];